package com.hsd.whb;

import com.wangjiacai.hqlQuery.EnableHqlQuery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;


@SpringBootApplication
@ServletComponentScan
@EnableHqlQuery
public class WhbApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(WhbApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(WhbApplication.class);
    }


}
